package cn.edu.scau.cmi.dengshixin.domain;

public class Student {
	
	private String stu_id;
	private String stu_name;
	
	public Student() {
		setStudentId(null);
		setStudentName(null);
	}
	
	public Student(String id, String name) {
		setStudentId(id);
		setStudentName(name);
	}
	
	public String toString() {
		return "[学号：" + stu_id + ", 姓名：" + stu_name + "]\n";
	}

	public String getStudentId() {
		return stu_id;
	}

	public void setStudentId(String stu_id) {
		this.stu_id = stu_id;
	}

	public String getStudentName() {
		return stu_name;
	}

	public void setStudentName(String stu_name) {
		this.stu_name = stu_name;
	}
	
}
